﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MasterSheetManager.Models
{
    public class Participant : EntityBase
    {
        [Display(Name = "关联出单")]
        public int? DealID { get; set; }
        public virtual Deal Deal { get; set; }

        public int? ProjectID { get; set; }

        [Display(Name = "参会人名称"), Required]
        public string Name { get; set; }

        [Display(Name = "职位")]
        public string Title { get; set; }

        [Display(Name = "性别")]
        public string Gender { get; set; }

        [Display(Name = "直线电话")]
        public string Contact { get; set; }

        [Display(Name = "移动电话")]
        public string Mobile { get; set; }

        [Display(Name = "工作邮箱")]
        public string Email { get; set; }

        public virtual ParticipantType ParticipantType { get; set; }
        [Display(Name = "参会类型"), Required]
        public int? ParticipantTypeID { get; set; }


        [Display(Name = "国内邮编"), Required]
        public string ZIP { get; set; }

        [Display(Name = "国内地址"), Required]
        public string Address { get; set; }



    }
}